import java.awt.*;
import java.awt.event.ActionEvent;
import java.time.Instant;

public class TalkingClock {
//    private int interval;
//    private boolean beep;
//
//    public TalkingClock(int interval, boolean beep){};
//    public void start(){};
//
//    //an inner class
//    public  class TimePrinter implements ActionLister
//    {
//        public void actionPerformed(ActionEvent event)
//        {
//            System.out.println("At the tone, the time is "+ Instant.ofEpochMilli(event.getWhen()));
//            if(beep) Toolkit.getDefaultToolkit().beep();
//        }
//    }
}
